package com.ruoyi.gcgl.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户管理对象 gc_customer
 * 
 * @author ruoyi
 * @date 2022-11-27
 */
public class GcCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    private String orderNo;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 描述 */
    @Excel(name = "描述")
    private String descs;

    /** 类型 */
    @Excel(name = "类型")
    private Integer type;

    /** 收款账号 */
    @Excel(name = "收款账号")
    private String skzh;

    /** 开户银行 */
    @Excel(name = "开户银行")
    private String khyh;

    /** 纳税识别号 */
    @Excel(name = "纳税识别号")
    private String nssbh;

    /** 收款单位 */
    @Excel(name = "收款单位")
    private String ckdw;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 联系人 */
    @Excel(name = "联系人")
    private String person;

    /** 联系地址 */
    @Excel(name = "联系地址")
    private String address;

    /** 删除标记 0:删除 1:没删除 */
    @Excel(name = "删除标记 0:删除 1:没删除")
    private Integer deleteFlag;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createAt;

    /** 修改人 */
    @Excel(name = "修改人")
    private String updateUser;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescs(String descs) 
    {
        this.descs = descs;
    }

    public String getDescs() 
    {
        return descs;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setSkzh(String skzh) 
    {
        this.skzh = skzh;
    }

    public String getSkzh() 
    {
        return skzh;
    }
    public void setKhyh(String khyh) 
    {
        this.khyh = khyh;
    }

    public String getKhyh() 
    {
        return khyh;
    }
    public void setNssbh(String nssbh) 
    {
        this.nssbh = nssbh;
    }

    public String getNssbh() 
    {
        return nssbh;
    }
    public void setCkdw(String ckdw) 
    {
        this.ckdw = ckdw;
    }

    public String getCkdw() 
    {
        return ckdw;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPerson(String person) 
    {
        this.person = person;
    }

    public String getPerson() 
    {
        return person;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setDeleteFlag(Integer deleteFlag) 
    {
        this.deleteFlag = deleteFlag;
    }

    public Integer getDeleteFlag() 
    {
        return deleteFlag;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateAt(Date createAt) 
    {
        this.createAt = createAt;
    }

    public Date getCreateAt() 
    {
        return createAt;
    }
    public void setUpdateUser(String updateUser) 
    {
        this.updateUser = updateUser;
    }

    public String getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateAt(Date updateAt) 
    {
        this.updateAt = updateAt;
    }

    public Date getUpdateAt() 
    {
        return updateAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderNo", getOrderNo())
            .append("name", getName())
            .append("descs", getDescs())
            .append("type", getType())
            .append("skzh", getSkzh())
            .append("khyh", getKhyh())
            .append("nssbh", getNssbh())
            .append("ckdw", getCkdw())
            .append("phone", getPhone())
            .append("person", getPerson())
            .append("address", getAddress())
            .append("deleteFlag", getDeleteFlag())
            .append("createUser", getCreateUser())
            .append("createAt", getCreateAt())
            .append("updateUser", getUpdateUser())
            .append("updateAt", getUpdateAt())
            .toString();
    }
}
